package com.caozhi.mspeoject.nb_message.service.admin;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.boot.common.bean.Message;


import java.util.List;

public interface AdminMessageService extends IService<Message> {
    List<Message> getEsMessages();

    List<Message> getMessagesByConditon(QueryWrapper<Message> wrapper);

    void  addMessage(Message message);
}
